@import '../variables.scss';
@import '../mixin.scss';
@import './transition.scss';
@import '../element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './popup.scss';
@import './form.scss';
@import './form-item.scss';
@import './info.scss';
@import './main.scss';
@import './list.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
  // font-family: PingFang SC, Helvetica Neue, Helvetica, microsoft yahei, arial, STHeiTi, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
}

:root {
  // --fc-border-color: black; // table 线的颜色
  --fc-today-bg-color: rgba(255, 220, 40, 0.15);
  --fc-event-border-color: rgba(80, 137, 217, 1); // 全天日程的边框
  --fc-event-bg-color: rgba(80, 137, 217, 1); // 全天日程的背景
  // button
  --fc-button-text-color: rgba(51, 51, 51, 1);
  --fc-button-bg-color: #f2f3f3;
  --fc-button-border-color: #f2f3f3;
  --fc-button-hover-bg-color: rgba(8, 98, 209, 0.5);
  --fc-button-hover-border-color: rgba(8, 98, 209, 0.5);
  --fc-button-active-bg-color: rgba(8, 98, 209, 1);
  --fc-button-active-border-color: rgba(8, 98, 209, 1);
}

.fc .fc-popover{
  z-index: 2000!important;
}

.fc-more-popover-misc {
  div:last-child {
    display: none;
  }
}

.fc-day-sat {
  background: rgba(245, 245, 245, 1);
}
.fc-day-sun {
  background: rgba(245, 245, 245, 1);
}
.fc-daygrid-day-number {
  display: none !important;
}

.fc .fc-daygrid-day-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  justify-content: space-between;
  padding: 0 10px;
  font-weight: bold;
  font-size: 14px;
  .fc-day-cnDate {
    font-weight: 400;
  }
}
.fc-button-primary {
  color: var(--fc-button-text-color);
  background-color: var(--fc-button-bg-color);
  border-color: var(--fc-button-border-color);
}

.fc-button-primary:hover {
  box-shadow: none !important;
  color: #fff !important;
  background-color: var(--fc-button-hover-bg-color);
  border-color: var(--fc-button-hover-border-color);
}

.fc-button-primary:disabled {
  color: rgba(51, 51, 51, 1) !important;
  background-color: var(--fc-button-bg-color);
  border-color: var(--fc-button-border-color); // overrides :hover
}

.fc-button-primary:focus {
  box-shadow: none !important;
}

.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
  box-shadow: none !important;
  color: #fff !important;
  background-color: var(--fc-button-active-bg-color);
  border-color: var(--fc-button-active-border-color);
}

.fc-button-primary:not(:disabled):active:focus,
.fc-button-primary:not(:disabled).fc-button-active:focus {
  box-shadow: none !important;
}
img {
  max-width: 100%;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  word-break: break-all;
}
ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

//滚动条样式
::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 10px;
}
::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #e6e6e6;
}
::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #f2f2f2;
}

p {
  display: block;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
}
.el-dialog__wrapper .popup .el-dialog__body {
  padding-bottom: 0;
}
